<?php
include "inc/implement_index.php";

UnSet ($vypis);
$vypis = prihlasenie();

over_prihl();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sk" lang="sk">
<head>

	<meta http-equiv="content-language" content="sk" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>BMB Leitner CS</title>
	<link rel="stylesheet" type="text/css" href="style_index.css" />
        <script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>
        <script type="text/javascript" src="js/fc.js"></script>

</head>
<body>

<script language="JavaScript" type="text/javascript">
function check_prihl()
{
	if (document.prihlasenie.mail.value == "")
	{
		alert('Zadajte e-mail.');
		document.prihlasenie.mail.focus();
		return false;
	}
	if (document.prihlasenie.heslo.value == "")
	{
		alert('Zadajte heslo.');
		document.prihlasenie.heslo.focus();
		return false;
	}
	return true;
}
</script> 

<form action="" method="post" name="prihlasenie" onsubmit="return check_prihl();">
	<table align="center" cellpadding="1" cellspacing="1">
		<tr><td class="prihlas_gap" colspan="2">&nbsp;</td></tr>
	</table>
	<table align="center" class="prihlas_tab" cellpadding="1" cellspacing="2">
		<tr><td class="prihlas_nadpis" colspan="2">Prihlásenie do BMB Leitner CS</td></tr>
		<tr><td class="prihlas_main">
			<table align="center" class="prihlas_tab2" cellpadding="1" cellspacing="1">
				<tr><td class="prihlas_main2">e-mail:</td><td class="prihlas_main3"><input type="text" name="mail" class="prihlas_input" /></td></tr>
				<tr><td class="prihlas_main2">heslo:</td><td class="prihlas_main3"><input type="password" name="heslo" class="prihlas_input" /></td></tr>
				<tr><td class="prihlas_main2">&nbsp;</td><td class="prihlas_main3"><input type="submit" value="Vstúpiť" class="prihlas_submit" /></td></tr>
			</table>
		</td></tr>
	</table>
</form>
<?php
if (!Empty($vypis))
echo "<table align=\"center\">\n\t<tr><td class=\"vypis\"><br />".$vypis."</td></tr>\n</table>";
?>

</body>
</html>